package dao;

import pojo.Dept;

import java.util.List;

public interface DeptDao {
   //查询用户
    List<Dept> findAll(Dept dept);

    Dept findDeptById(int id);
    int deleteDeptById(int id);

    int addDept(Dept dept);
    int updateDept(Dept dept);

}
